1
general::
Also, get one's shit or it all together. Start to behave more appropriately or effectively; get organized. For example, Once Joe gets his act together he'll get a raise, or You'd better get it all together before the boss comes back. The variant using shit is considered vulgar. [Slang; second half of 1900s] Also see GET ONE'S DUCKS IN A ROW.
American Heritage Idioms